﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200111D RID: 4381
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SendMsgScRsp : IMessage<SendMsgScRsp>, IMessage, IEquatable<SendMsgScRsp>, IDeepCloneable<SendMsgScRsp>, IBufferMessage
	{
		// Token: 0x17003786 RID: 14214
		// (get) Token: 0x0600C41E RID: 50206 RVA: 0x00212768 File Offset: 0x00210968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SendMsgScRsp> Parser
		{
			get
			{
				return SendMsgScRsp._parser;
			}
		}

		// Token: 0x17003787 RID: 14215
		// (get) Token: 0x0600C41F RID: 50207 RVA: 0x0021276F File Offset: 0x0021096F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SendMsgScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003788 RID: 14216
		// (get) Token: 0x0600C420 RID: 50208 RVA: 0x00212781 File Offset: 0x00210981
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SendMsgScRsp.Descriptor;
			}
		}

		// Token: 0x0600C421 RID: 50209 RVA: 0x00212788 File Offset: 0x00210988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SendMsgScRsp()
		{
		}

		// Token: 0x0600C422 RID: 50210 RVA: 0x00212790 File Offset: 0x00210990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SendMsgScRsp(SendMsgScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.endTime_ = other.endTime_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C423 RID: 50211 RVA: 0x002127C1 File Offset: 0x002109C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SendMsgScRsp Clone()
		{
			return new SendMsgScRsp(this);
		}

		// Token: 0x17003789 RID: 14217
		// (get) Token: 0x0600C424 RID: 50212 RVA: 0x002127C9 File Offset: 0x002109C9
		// (set) Token: 0x0600C425 RID: 50213 RVA: 0x002127D1 File Offset: 0x002109D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700378A RID: 14218
		// (get) Token: 0x0600C426 RID: 50214 RVA: 0x002127DA File Offset: 0x002109DA
		// (set) Token: 0x0600C427 RID: 50215 RVA: 0x002127E2 File Offset: 0x002109E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong EndTime
		{
			get
			{
				return this.endTime_;
			}
			set
			{
				this.endTime_ = value;
			}
		}

		// Token: 0x0600C428 RID: 50216 RVA: 0x002127EB File Offset: 0x002109EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SendMsgScRsp);
		}

		// Token: 0x0600C429 RID: 50217 RVA: 0x002127F9 File Offset: 0x002109F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SendMsgScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.EndTime == other.EndTime && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C42A RID: 50218 RVA: 0x00212838 File Offset: 0x00210A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.EndTime != 0UL)
			{
				num ^= this.EndTime.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C42B RID: 50219 RVA: 0x00212890 File Offset: 0x00210A90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C42C RID: 50220 RVA: 0x00212898 File Offset: 0x00210A98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C42D RID: 50221 RVA: 0x002128A4 File Offset: 0x00210AA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EndTime != 0UL)
			{
				output.WriteRawTag(64);
				output.WriteUInt64(this.EndTime);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C42E RID: 50222 RVA: 0x00212900 File Offset: 0x00210B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.EndTime != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.EndTime);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C42F RID: 50223 RVA: 0x00212958 File Offset: 0x00210B58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SendMsgScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.EndTime != 0UL)
			{
				this.EndTime = other.EndTime;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C430 RID: 50224 RVA: 0x002129A8 File Offset: 0x00210BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C431 RID: 50225 RVA: 0x002129B4 File Offset: 0x00210BB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.EndTime = input.ReadUInt64();
				}
			}
		}

		// Token: 0x04004F23 RID: 20259
		private static readonly MessageParser<SendMsgScRsp> _parser = new MessageParser<SendMsgScRsp>(() => new SendMsgScRsp());

		// Token: 0x04004F24 RID: 20260
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004F25 RID: 20261
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04004F26 RID: 20262
		private uint retcode_;

		// Token: 0x04004F27 RID: 20263
		public const int EndTimeFieldNumber = 8;

		// Token: 0x04004F28 RID: 20264
		private ulong endTime_;
	}
}
